package com.example.springbootprodb.enity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data //属性添加set和get构造
@NoArgsConstructor //设置无参数构造
@AllArgsConstructor //设置有参数构造
public class Dept {
    private Integer id;
    private String name;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
